package com.capgemini.teamtwo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.time.LocalDate;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;


import java.io.Serializable;


@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("project_info")
@Component
public class ProjectInfo implements Serializable {


    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("project_name")
    private String projectName;
    @TableField("leader_id")
    private Integer leaderId;
    @TableField("launch_time")
    private LocalDate launchDate;
    @TableField("member_number")
    private Integer memberNumber;
    @TableField("duration")
    private Integer duration;
    @TableField("rate")
    private Integer rate;
}
